Page({
  data: {
    selected: true,
    selected1: false,
    selected2: false
  },
  selected: function (e) {
    this.setData({
      selected1: false,
      selected2: false,
      selected3: false,
      selected: true
    })
  },
  selected1: function (e) {
    this.setData({
      selected: false,
      selected2: false,
      selected3: false,
      selected1: true
    })
  },
  selected2: function (e) {
    this.setData({
      selected: false,
      selected1: false,
      selected3: false,
      selected2: true
    })
  },
  selected3: function (e) {
    this.setData({
      selected: false,
      selected1: false,
      selected2: false,
      selected3: true
    })
  },
  order_details1: function () {
    wx.navigateTo({
      url: '../order_details1/index'
    })
  },
  order_details2: function () {
    wx.navigateTo({
      url: '../order_details2/index'
    })
  },
  order_details3: function () {
    wx.navigateTo({
      url: '../order_details3/index'
    })
  },
  order_details4: function () {
    wx.navigateTo({
      url: '../order_details4/index'
    })
  }
})